package com.zc.chapter41.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestService {

    @Autowired
    private TestDao testDao;


    public void printInfo(){
        System.out.println("TestService的printInfo方法~~~~~~~~~~~~~");
        testDao.printInfo();
    }
}
